﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XLang
{
    /// <summary>
    /// 归约条件
    /// </summary>
    [AttributeUsage(AttributeTargets.Method, AllowMultiple = true,Inherited =false)]
    public class ReduceCondtionAttribute : Attribute
    {
        public List<Type> Condtions { get; private set; }

        public ReduceCondtionAttribute(params Type[] condtions)
        {
            this.Condtions = new List<Type>(condtions);
        }
    }
}
